<div id="h_main" class="main_width">
    
    <!-- breadcrumb -->
    <?php echo $this->element('breadcrumb',array('breadcrumb' => $breadcrumb)); ?>
    <?php $categories = $this->requestAction('/Common/navigation');?>
    <div id="contact">
        <ul style="font-size: 15px; margin-left: 40px;">
            <li>
                <a href="<?php echo $this->Html->url('/home/index/');?>"><?php echo __('Home'); ?></a>
            </li>
            <?php if(isset($categories[0]['children'])): ?>
                <?php foreach($categories[0]['children'] as $category):?>
                    <li>
                        <a href="<?php echo $this->Html->url('/categories/index/'.$category['Category']['category_id']);?>"><?php echo $category['category_language'][0]['name']?></a>
                        <?php if(isset($category['children']) && count($category['children']) > 0): ?>
                            <div class="container_sub_navigation">

                                <ul class="sub_navigation">
                                    <div class="row_navi"></div>
                                    <?php foreach($category['children'] as $item):?>
                                        <li><a href="<?php echo $this->Html->url('/categories/index/'.$item['Category']['category_id']);?>"><?php echo $item['category_language'][0]['name']?></a></li>
                                    <?php endforeach;?>
                                </ul>
                            </div>

                        <?php endif; ?>
                    </li>
                <?php endforeach;?>
            <?php endif; ?>

            <li>
                <a href="<?php echo $this->Html->url('/home/contact/');?>"><?php echo __('Contact us'); ?></a>
            </li>
            <li>
                <a href="<?php echo $this->Html->url('/home/landlord/');?>"><?php echo __('LandLord'); ?></a>
            </li>
			<li>
                <a href="<?php echo $this->Html->url('/home/landlord/');?>"><?php echo __('SiteMap'); ?></a>
            </li>
            <div class="clearBoth"></div>
        </ul>
    </div>
</div>

<style type="text/css">
    #contact a{
        text-transform : uppercase !important;
    }
</style>